package me.wangqu.weiyouqu.web.rest;

import com.fasterxml.jackson.annotation.JsonProperty;

/**
 * Object to return as body in JWT Authentication.
 */
public class JWTToken {

    private String idToken;

    private Long uid; // 用户分享码

    public JWTToken(String idToken) {
        this.idToken = idToken;
    }

    public JWTToken(String idToken, Long uid) {
        this.idToken = idToken;
        this.uid = uid;
    }

    public String getIdToken() {
        return idToken;
    }

    public void setIdToken(String idToken) {
        this.idToken = idToken;
    }

    public Long getUid() {
        return uid;
    }

    public void setUid(Long uid) {
        this.uid = uid;
    }
}
